package com.ultrasoft.farmasoft.repository;

import java.util.List;

import com.ultrasoft.farmasoft.domain.Package;
import com.ultrasoft.farmasoft.domain.Pharmacyproduct;
import com.ultrasoft.farmasoft.domain.Userprovider;


public interface PackageDao {
	public List<Package> getListPackage();
	public List<Package> getListPackageByActive(boolean active);
	public List<Package> getListPackageByPharmacyProductByActive(Pharmacyproduct pharmacyproduct,boolean active);
	public List<Package> getListPackageByPharmacyProductByActiveByState(Pharmacyproduct pharmacyproduct,boolean active,short state);
	public List<Package> getListPackageByUserProvider(Userprovider userprovider,boolean active);
    public Package findPackageByPackageId(Integer packageId);    
    public void update(Package packageElement);    
    public void remove(Package packageElement);    
    public void add(Package packageElement);
}
